<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Autovermietung: Car.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Autovermietung
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.2 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_car_8h_source.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Car.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#ifndef CAR_H</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CAR_H</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;Object.h&quot;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;ICar.h&quot;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="code" href="class_car.html">   17</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_car.html" title="Header for the Car class.">Car</a> : <span class="keyword">public</span> <a class="code" href="class_object.html" title="Header for the Object class.">Object</a>, <span class="keyword">public</span> <a class="code" href="class_i_car.html" title="Header for the ICar class.">ICar</a> {</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="code" href="class_car.html#a977f68ea0039e94a573cbbf31fc8731b">   26</a></span>&#160;   <a class="code" href="class_car.html#a977f68ea0039e94a573cbbf31fc8731b" title="CTor of class Car.">Car</a>(std::string <span class="keyword">const</span>&amp; manufacturer, std::string <span class="keyword">const</span>&amp; type):</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;      <a class="code" href="class_car.html#ae92b41db025aa0c95988dab803dae125" title="The manufacturer of a car.">mManufacturer</a>(manufacturer), <a class="code" href="class_car.html#aa73f084f13f460fd53c937cfff2cf76a" title="The type of a car.">mType</a>(type){}</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;   <span class="keywordtype">float</span> <a class="code" href="class_car.html#a5051a69dc7e787dc5dbd544c05d28295" title="Returns the price of a car + its extras.">GetPrice</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;   <span class="keywordtype">void</span> <a class="code" href="class_car.html#a44a178a353f2e2a254bd43dab7fdcc89" title="Prints a car including its extras.">Print</a>(std::ostream &amp;stream) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;   std::string <span class="keyword">const</span>&amp; <a class="code" href="class_car.html#a1318b862002b8f3123bd4fbf58e24b2e" title="Returns the manufacturer of the car.">GetManufacturer</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;   std::string <span class="keyword">const</span>&amp; <a class="code" href="class_car.html#a1156e559ec86246842096749efcb5b61" title="Returns the Type of the Car.">GetType</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_car.html#ad6a7b5f19ccb57942f7e8bc371b4f6a4" title="Prints the text of a Car.">DoPrint</a>(std::ostream &amp;stream) <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="class_car.html#a439bf71e72348f8c3b0d77f4950472d9">   42</a></span>&#160;   <span class="keywordtype">float</span> <a class="code" href="class_car.html#a439bf71e72348f8c3b0d77f4950472d9" title="The Price of a Car (in a certain car class and price class respectively)">mPrice</a>;</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="class_car.html#ae92b41db025aa0c95988dab803dae125">   44</a></span>&#160;   std::string <a class="code" href="class_car.html#ae92b41db025aa0c95988dab803dae125" title="The manufacturer of a car.">mManufacturer</a>;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="class_car.html#aa73f084f13f460fd53c937cfff2cf76a">   46</a></span>&#160;   std::string <a class="code" href="class_car.html#aa73f084f13f460fd53c937cfff2cf76a" title="The type of a car.">mType</a>;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;};</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><b>Car.h</b></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.2 </li>
  </ul>
</div>
</body>
</html>
